<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>音乐频谱分析器 - 启动页</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }

        .container {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 3rem;
            text-align: center;
            max-width: 600px;
            width: 90%;
            box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
            border: 1px solid rgba(255, 255, 255, 0.18);
        }

        h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        .subtitle {
            font-size: 1.2rem;
            margin-bottom: 3rem;
            opacity: 0.9;
        }

        .options {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            max-width: 400px;
            margin: 0 auto;
        }

        .option-card {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            padding: 2rem;
            text-decoration: none;
            color: white;
            transition: transform 0.3s, box-shadow 0.3s;
            border: 2px solid transparent;
        }

        .option-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
            border-color: rgba(255, 255, 255, 0.3);
        }

        .option-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .option-title {
            font-size: 1.4rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }

        .option-desc {
            opacity: 0.8;
            line-height: 1.5;
        }

        .footer {
            margin-top: 3rem;
            opacity: 0.7;
            font-size: 0.9rem;
        }

        @media (min-width: 768px) {
            .options {
                flex-direction: row;
                max-width: none;
            }
            
            .option-card {
                flex: 1;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>🎵 音乐频谱分析器</h1>
        <p class="subtitle">选择你的音频来源开始体验</p>
        
        <div class="options">
            <a href="index.html" class="option-card">
                <div class="option-icon">🎯</div>
                <div class="option-title">基础版</div>
                <div class="option-desc">
                    本地文件分析<br>
                    简单易用的频谱可视化
                </div>
            </a>
            
            <a href="enhanced-analyzer.html" class="option-card">
                <div class="option-icon">🚀</div>
                <div class="option-title">增强版</div>
                <div class="option-desc">
                    支持流媒体、外部频谱文件<br>
                    高性能、多种压缩格式
                </div>
            </a>
            
            <a href="audio-generator.html" class="option-card">
                <div class="option-icon">🎼</div>
                <div class="option-title">测试音频生成器</div>
                <div class="option-desc">
                    生成测试音频文件<br>
                    体验各种波形和频谱
                </div>
            </a>
        </div>
        
        <div class="footer">
            <p>💡 建议：先生成测试音频，然后在主应用中分析和播放</p>
            <p>🎯 功能：音频上传 → 频谱分析 → 缓存数据 → 可视化动画</p>
        </div>
    </div>
</body>
</html>
